package com.ddtech.business.bank.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import lombok.Data;
import lombok.ToString;
import org.apache.poi.ss.usermodel.BorderStyle;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

/**
 * v2题目模板
 * @author  bin
 * @date  2023/6/26 14:38
 */
@Data
@ToString
@HeadFontStyle(fontHeightInPoints = 16)
@ContentFontStyle(fontHeightInPoints = 12)
@HeadRowHeight(30)
@ContentRowHeight(50)
@ContentStyle(borderLeft = BorderStyle.THIN,horizontalAlignment= HorizontalAlignment.CENTER,borderRight=BorderStyle.THIN,borderTop=BorderStyle.THIN,borderBottom=BorderStyle.THIN,wrapped = true)
public class BankQuestionV2BO {

    @ExcelProperty(index = 0, value = {"${title}", "序号"})
    private String number;

//    @ExcelProperty(index = 1, value = {"${title}","专业类别"})
//    @ColumnWidth(30)
//    private String majorType;

    @ExcelProperty(index = 1, value = {"${title}","题型"})
    private String questionType;

    @ExcelProperty(index = 2, value = {"${title}","题干"})
    @ColumnWidth(100)
    private String question;

    @ExcelProperty(index = 3, value = {"${title}","A"})
    @ColumnWidth(100)
    private String optionA;

    @ExcelProperty(index = 4, value = {"${title}","B"})
    @ColumnWidth(100)
    private String optionB;

    @ExcelProperty(index = 5, value = {"${title}","C"})
    @ColumnWidth(100)
    private String optionC;

    @ExcelProperty(index = 6, value = {"${title}","D"})
    @ColumnWidth(100)
    private String optionD;

    @ExcelProperty(index = 7, value = {"${title}","E"})
    private String optionE;

    @ExcelProperty(index = 8, value = {"${title}","F"})
    private String optionF;

    @ExcelProperty(index = 9, value = {"${title}","G"})
    private String optionG;

    @ExcelProperty(index = 10, value = {"${title}","H"})
    private String optionH;

    @ExcelProperty(index = 11, value = {"${title}","答案"})
    private String isTrue;

    @ExcelProperty(index = 12, value = {"${title}","试题解析"})
    @ColumnWidth(60)
    private String basis;

    @ExcelProperty(index = 13, value = {"${title}","分值"})
    @ColumnWidth(50)
    private Double score;

    @ExcelProperty(index = 14, value = {"${title}","题目标签"})
    @ColumnWidth(50)
    private String keywords;
}
